<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1 {
	width: 195px;
}

.select_width {
	width: 130px;
}
</style>
<input type="hidden" name="organizations/organization[0]/sequence_no" value="1" >
<input type="hidden" name="organizations/organization[0]@submit_org" value="1" >
<input type="hidden" name="organizations/organization[0]/org_code" value="<x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_code"/>" >

<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo1" cellspacing="1">
	<col style="width: 12%" />
	<col style="width: 12%" />
	<col style="width: 21.3%" />
	<col style="width: 21.3%" />
	<col style="width: 12%" />
	<col style="width: 21.3%" />
	<div class="t_bar">
		<span style="color: red;">*</span>项目信息
	</div>
	<div>
		<tr>
			<td align="right">项目名称：</td>
			<td colspan="5"><input id="zh_title" name="proposal/zh_title"
				label="项目信息-->项目名称" type="text"
				class="input_css required maxlength:50" style="width: 95%;"
				maxlength="50"
				value="<x:out select="$xmlData/data/proposal/zh_title" />" /></td>
		</tr>



		<tr>
			<td align="right">英文名称：</td>
			<td colspan="5"><input id="zh_title_english"
				name="proposal/zh_title_english" label="项目信息-->英文名称" type="text"
				class="input_css required maxlength:500" style="width: 95%;"
				maxlength="500"
				value="<x:out select="$xmlData/data/proposal/zh_title_english" />" /></td>
		</tr>













		<tr class="to_li_1 li_1">
			<c:set var="proposal_type">
				<x:out select="$xmlData/data/proposal/proposal_type" />
			</c:set>

			<td align="right">项目类型：</td>
			<td align="left" colspan="5">
			<c:set var="proposal_type_name"><x:out select="$xmlData/data/proposal/sub_grant_name" /></c:set>
			<span name="proposal/proposal_type_name">${proposal_type_name }</span>
			<c:if test="${proposal_type_name=='面上项目' }">
			<c:set var="proposal_type_value">04</c:set>
			</c:if>
			<c:if test="${proposal_type_name=='重大项目' }">
			<c:set var="proposal_type_value">03</c:set>
			</c:if>
			<c:if test="${proposal_type_name=='青年基金项目' }">
			<c:set var="proposal_type_value">05</c:set>
			</c:if>
		<input name="proposal/proposal_type_value" type="hidden" value="${proposal_type_value }"/>

			<%-- &nbsp; <label> <input
					type="radio" class="do " id="advant_01"
					style="vertical-align: middle;" name="proposal_type" label="一般项目"
					value="01" /> <span style="vertical-align: middle;">一般项目</span>
			</label> &nbsp;&nbsp;&nbsp;&nbsp;<label> <input type="radio"
					class="do " id="advant_02" style="vertical-align: middle;"
					name="proposal_type" label="重点项目" value="02" /> <span
					style="vertical-align: middle;">重点项目</span>
			</label> &nbsp;&nbsp;&nbsp;&nbsp;<label> <input type="radio"
					class="do " id="advant_03" style="vertical-align: middle;"
					name="proposal_type" label="重大项目" value="03" /> <span
					style="vertical-align: middle;">重大项目</span>
			</label> &nbsp;&nbsp;&nbsp;&nbsp; --> <%-- <input type="hidden"
				name="proposal/proposal_type_value" class="required" label="项目类型"
				id="xiangmuleixing"
				value="<x:out select="$xmlData/data/proposal/proposal_type_value" />" />
				<input type="hidden" name="proposal/proposal_type_name"
				value="<x:out select="$xmlData/data/proposal/proposal_type_name" />" /> --%>
			</td>
		</tr>



		<tr>
			<td align="right">研究类别：</td>
			<td colspan="5"><input id="study_type"
				name="proposal/study_type" label="项目信息-->研究类别" type="text"
				class="input_css required maxlength:50" style="width: 95%;"
				maxlength="50"
				value="<x:out select="$xmlData/data/proposal/study_type" />" /></td>
		</tr>







		<%-- 	

			<td align="left">学科领域</td>
						<td  colspan="3">
          	<c:set var="subject">{'id':'<x:out select="$xmlData/data/proposal/subject_code" />','name':'<x:out select="$xmlData/data/proposal/subject_name" />'}</c:set>
          	<cpt:tree key="medically" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${subject}"  label="${param.title}-->学科领域"
          		id="subject" showPattern="current" shieldPattern="0" topCheckbox="false" onClick="initTreeValue2" width="55%"/>
	        <input id="subject_code" type="hidden" name="proposal/subject_code" class="required" label="${param.title}-->学科领域" value="<x:out select="$xmlData/data/proposal/subject_code" />"/>
            <input id="subject_name" type="hidden" name="proposal/subject_name"  value="<x:out select="$xmlData/data/proposal/subject_name" />"/>
		</td>


 --%>


		<tr>
			<td align="right">学科组：</td>
			<td colspan="3"><c:set var="sub">
					<x:out select="$xmlData/data/proposal/sub_grant_code" />
				</c:set> 
				<c:if test="${sub=='3114' or sub=='3516' }">
				<c:set var="researcharea">{'id':'<x:out
						select="$xmlData/data/proposal/researcharea_value" />','name':'<x:out
						select="$xmlData/data/proposal/researcharea_name" />'}</c:set> 
						<cpt:tree
					key="researcharea1" cacheable="false" className="hn_iuput_kuang"
					readonly="true" value="${researcharea}" label="项目信息-->学科组" width="84.5%"
					id="researcharea" showPattern="current" shieldPattern="0" 
					topCheckbox="false" 
					onClick="initTreeValue3"
					sqlParamVal="{grant_code:${sub},stat_year:${param.statYear}}" />
					</c:if>
					<c:if test="${sub=='3115' or sub=='3116'}">
					<c:set var="researcharea">{'id':'<x:out
						select="$xmlData/data/proposal/researcharea_all_value" />','name':'<x:out
						select="$xmlData/data/proposal/researcharea_all_name" />'}</c:set> 
					 <cpt:tree
					key="researcharea1" cacheable="false" className="hn_iuput_kuang"
					readonly="true" value="${researcharea}" label="项目信息-->学科组" width="84.5%"
					id="researcharea" showPattern="current" shieldPattern="0" 
					topCheckbox="false" 
					onClick="initTreeValueSYF111"
					sqlParamVal="{grant_code:${sub},stat_year:${param.statYear}}" />
					</c:if>
					 <c:set
					var="subgrantcode">
					<x:out select="$xmlData/data/proposal/sub_grant_code" />
				</c:set> 
				<input id="researcharea_all_value" type="hidden" name="proposal/researcharea_all_value"
				
				value="<x:out select="$xmlData/data/proposal/researcharea_all_value" />" /> <input
				id="researcharea_all_name" type="hidden" name="proposal/researcharea_all_name"
				value="<x:out select="$xmlData/data/proposal/researcharea_all_name" />" />
				
				<input id="researcharea_value" type="hidden" name="proposal/researcharea_value"
				 class="required" label="项目信息-->学科组"
				value="<x:out select="$xmlData/data/proposal/researcharea_value" />" /> <input
				id="researcharea_name" type="hidden" name="proposal/researcharea_name"
				value="<x:out select="$xmlData/data/proposal/researcharea_name" />" /></td>
				
				
			<td align="right">学科领域：</td>
			<%-- <td><input id="researcharea_value" type="hidden" name="proposal/researcharea_value"  value="<x:out select="$xmlData/data/proposal/researcharea_value" />"/>
            <span id="researcharea_name"  name="proposal/researcharea_name"><x:out select="$xmlData/data/proposal/researcharea_name" /></span></td> --%>
	         <td><input id="xkz" type="text" name="proposal/domain_name" value="<x:out select="$xmlData/data/proposal/domain_name" />" disabled class="gray" style="width:78%"/></td>
						<input id="xkz_value" type="hidden" name="proposal/domain_value" value="<x:out select="$xmlData/data/proposal/domain_value" />" />
						<input id="subject_no" type="hidden" name="proposal/subject_no"  value="<x:out select="$xmlData/data/proposal/subject_no" />"/>
		</tr>
















		<tr>
			<td rowspan="2" align="right">申报学科：</td>
			<td align="right">名称1：</td>
			<td colspan="2"><c:set var="sub">
					<x:out select="$xmlData/data/proposal/sub_grant_code" />
				</c:set> <c:set var="discipline1">{'id':'<x:out
						select="$xmlData/data/proposal/discipline1_value" />','name':'<x:out
						select="$xmlData/data/proposal/discipline1_name" />'}</c:set> <cpt:tree
					key="subject" cacheable="false" className="hn_iuput_kuang"
					readonly="true" value="${discipline1}" label="项目信息-->申报学科-->名称1"
					width="80%" id="discipline1" showPattern="current"
					shieldPattern="0" topCheckbox="false" onClick="initTreeValueSYF"
					sqlParamVal="{grant_code:${sub},stat_year:${param.statYear}}" /> <c:set
					var="subgrantcode">
					<x:out select="$xmlData/data/proposal/sub_grant_code" />
				</c:set> <input id="discipline1_value" type="hidden"
				name="proposal/discipline1_value" class="required"
				label="项目信息-->申报学科-->名称1"
				value="<x:out select="$xmlData/data/proposal/discipline1_value" />" />
				<input id="discipline1_name" type="hidden"
				name="proposal/discipline1_name"
				value="<x:out select="$xmlData/data/proposal/discipline1_name" />" />



				<%-- <cpt:tree key="subject" cacheable="false" readonly="true" value="" id="discipline1" name="discipline1"  showPattern="all" shieldPattern="-1" onClick="initTreeValue"   label="国家基金委学科领域"  width="80%"/>
			<input type="hidden" id="discipline1_code" name="discipline1_code" value="" class="required"  label="国家基金委学科领域"/> 
			<input type="hidden" id="discipline1_name" name="discipline1_name" value="" /> --%>
			<td align="right">代码1：</td>
			<td><input id="discipline1_code" label="项目信息-->申报学科-->代码1"
				type="text" class="gray" disabled="disabled" style="width: 78%;"
				maxlength="50" name="proposal/discipline1_value1"
				value="<x:out select="$xmlData/data/proposal/discipline1_value1" />" />
			</td>
		</tr>



		<tr>
			<td align="right">名称2：</td>
			<td colspan="2"><c:set var="sub">
					<x:out select="$xmlData/data/proposal/sub_grant_code" />
				</c:set> <c:set var="discipline2">{'id':'<x:out
						select="$xmlData/data/proposal/discipline2_value" />','name':'<x:out
						select="$xmlData/data/proposal/discipline2_name" />'}</c:set> <cpt:tree
					key="subject" cacheable="false" className="hn_iuput_kuang"
					readonly="true" value="${discipline2}" label="项目信息-->申报学科-->名称2"
					width="80%" id="discipline2" showPattern="current"
					shieldPattern="0" topCheckbox="false" onClick="initTreeValueSYF"
					sqlParamVal="{grant_code:${sub},stat_year:${param.statYear}}" /> <c:set
					var="subgrantcode">
					<x:out select="$xmlData/data/proposal/sub_grant_code" />
				</c:set> <input id="discipline2_value" type="hidden"
				name="proposal/discipline2_value" class="required"
				label="项目信息-->申报学科-->名称2"
				value="<x:out select="$xmlData/data/proposal/discipline2_value" />" />
				<input id="discipline2_name" type="hidden"
				name="proposal/discipline2_name"
				value="<x:out select="$xmlData/data/proposal/discipline2_name" />" />



				<%-- <cpt:tree key="subject" cacheable="false" readonly="true" value="" id="discipline2" name="discipline2"  showPattern="all" shieldPattern="-1" onClick="initTreeValueExt"   label="国家基金委学科领域"  width="80%"/>
			<input type="hidden" id="discipline2_code" name="discipline2_code" value="" class="required"  label="国家基金委学科领域"/> 
			<input type="hidden" id="discipline2_name" name="discipline2_name" value="" />
	</td> --%>
			<td align="right">代码2：</td>
			<td><input id="discipline2_code" label="项目信息-->申报学科-->代码2"
				type="text" class="gray" disabled="disabled" style="width: 78%;"
				maxlength="50" name="proposal/discipline2_value2"
				value="<x:out select="$xmlData/data/proposal/discipline2_value2" />" />
			</td>
		</tr>



		<tr>
			<td align="right">预计研究期限：</td>
			<td colspan="3"><c:set var="start_date">
					<x:out select="$xmlData/data/proposal/start_date" />
				</c:set> <cpt:date id="start_date" name="proposal/start_date"
					value="${start_date}"
					className="date required dateCompareBeforeE:start_date:end_date"
					label="项目信息-->预计研究期限-->产品研发开始时间"></cpt:date> 至 <c:set
					var="end_date">
					<x:out select="$xmlData/data/proposal/end_date" />
				</c:set> <cpt:date id="end_date" name="proposal/end_date"
					value="${end_date}" className="date input_text required"
					label="项目信息-->预计研究期限-->产品研发结束时间"></cpt:date></td>






<%-- <tr class="li_2">
	<td  align="right" nowrap><span class="color_red">*</span>项目开始日期：</td>
		<td colspan="2">
			<c:set var="start_date"><x:out select="$xmlData/data/proposal/start_date" /></c:set>
			<cpt:date id="start_date" name="proposal/start_date" value="${start_date}" className="required date  dateCompare:end_date" label="${param.title}-->项目开始日期" ></cpt:date> 
		</td>
		<td  align="right" nowrap ><span class="color_red">*</span>项目结束日期：</td>
		<td colspan="2">
			<c:set var="end_date"><x:out select="$xmlData/data/proposal/end_date" /></c:set>
			<cpt:date id="end_date" name="proposal/end_date" className="required date" label="${param.title}-->项目结束日期"  value="${end_date}" ></cpt:date> 
		</td>
	</tr> --%>














			<td align="right">申请金额：</td>
			<td><input type="text" class="gray" disabled  style="width: 78%;" id="apply_money" name="proposal/request_amt"
			value="<x:out select="$xmlData/data/proposal/request_amt"/>"/>万元

			</td>
			
			
			
			
			
			
			
			
		<%-- 	<input id="request_amt" label="项目信息-->申请金额" type="text"
				class="gray" disabled="disabled" style="width: 80%;" maxlength="50"
				name="proposal/request_amt"
				value="<x:out select="$xmlData/data/proposal/apply_money" /> " />万元</td>

 --%>

			<%-- <x:out select="$xmlData/data/fund/province_total" /> --%>

			<%-- <input id="apply_money" name="proposal/apply_money"
				label="项目信息-->申请金额" type="text"
				class="input_css required maxlength:50" style="width: 80%;"
				maxlength="50" onfocus="InitInput.setNumber(this,7,2,2)"
				value="<x:out select="$xmlData/data/proposal/apply_money" />" /> --%>

		</tr>

		<tr>
			<td align="right">归口管理部门：</td>
			<td colspan="3"><x:out
					select="$xmlData/data/proposal/recomend_org_name" /></td>

			<td align="right">申报日期：</td>
			<td><c:set var="submit_date">
					<x:out select="$xmlData/data/proposal/submit_date" />
				</c:set> <cpt:date id="submit_date" name="proposal/submit_date"
					value="${submit_date}" className=" required date" label="申报日期"></cpt:date></td>
		</tr>











	</div>
</table>

<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo2" cellspacing="1">
	<col style="width: 12%" />
	<col style="width: 21.3%" />
	<col style="width: 12%" />
	<col style="width: 21.3%" />
	<col style="width: 12%" />
	<col style="width: 21.3%" />
	<div class="t_bar">
		<span style="color: red;">*</span>项目负责人
	</div>
	<div>
		<tr>
			<td align="right">姓名：</td>
			<td><span name="proposal/basic_info/fzr_zh_name"> <x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" />
			</span></td>
			<td align="right">性别：</td>
			<td><c:set var="sex">
						<x:out
							select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/gender_value" />
					</c:set> 
			    <span name="proposal/basic_info/fzr_gender_name"> 
					<c:if test="${sex=='F' }">女</c:if> <c:if test="${sex=='M' }">男</c:if>
					</span>
					</td>
					
					
			<td align="right">出生日期：</td>
			<td><span name="proposal/basic_info/fzr_birthday"> <x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/birthday" /></td>
		</tr>

		<tr>
			<td align="right">民族：</td>
			<td><span name="proposal/basic_info/fzr_ethnicity_name">
					<x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/ethnicity_name" /></span></td>
			<td align="right">证件类型：</td>
			<td><span name="proposal/basic_info/fzr_card_type_name">
					<x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/card_type_name" /></span></td>
			<td align="right">证件号：</td>
			<td><span name="proposal/basic_info/fzr_card_code"> <x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/card_code" /></span></td>
		</tr>


		<tr>
			<td align="right">职称：</td>
			<td><span name="proposal/basic_info/fzr_prof_title_name">
					<x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/prof_title_name" /></span></td>
			<td align="right">职务：</td>
			<td><span name="proposal/basic_info/fzr_position"> <x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/position" /></span></td>
			<td align="right">项目分工：</td>
			<td><span name="proposal/basic_info/fzr_work"> <x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/work" /></span></td>
		</tr>


		<tr>
			<td align="right">学历：</td>
			<td><span name="proposal/basic_info/fzr_educate_name"> <x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/educate_name" /></span></td>
			<td align="right">学位：</td>
			<td><span name="proposal/basic_info/fzr_degree_name"> <x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/degree_name" /></span></td>
			<td align="right">从事专业：</td>
			<td><span name="proposal/contact/fzr_major_work"> <x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/major_work" /></span></td>
		</tr>

		<tr>
			<td align="right">手机：</td>
			<td><span name="proposal/contact/fzr_mobile"> <x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span></td>
			<td align="right">联系电话：</td>
			<td><span name="proposal/contact/fzr_tel_work"> <x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span></td>
			<td align="right">电子邮箱：</td>
			<td><span name="proposal/contact/fzr_email"> <x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span></td>
		</tr>
	</div>
</table>





<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo3" cellspacing="1">
	<col style="width: 12%" />
	<col style="width: 21.3%" />
	<col style="width: 12%" />
	<col style="width: 21.3%" />
	<col style="width: 12%" />
	<col style="width: 21.3%" />
	<div class="t_bar">
		<span style="color: red;">*</span>单位信息
	</div>
	<div>
		<tr>
			<td align="right">单位名称：</td>
			<td colspan="5"><x:out
					select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/org_name" />
				<%-- 	<x:out
					select="$xmlData/data/organizations/organization/org_code" /> --%>
      </td>
		</tr>


		<tr>
			<td align="right">所在地：</td>
			<td colspan="3"><span name="organizations/organization/address"><x:out
						select="$xmlData/data/organizations/organization/address" /></span></td>
			<td align="right">邮政编码：</td>
			<td><span name="organizations/organization/zip_code"><x:out
						select="$xmlData/data/organizations/organization/zip_code" /></span></td>
		</tr>

		<tr>
			<td align="right">联系人：</td>
			<td><input id="contact_person" name="proposal/contact_person"
				label="单位信息-->联系人" type="text"
				class="input_css  required maxlength:50" style="width: 80%;"
				maxlength="50"
				value="<x:out select="$xmlData/data/proposal/contact_person" />" /></td>
			<td align="right">联系电话：</td>
			<td><input id="contact_mobile" name="proposal/contact_mobile"
				label="单位信息-->联系电话" type="text"
				class="input_css required maxlength:50" style="width: 80%;"
				maxlength="50"
				value="<x:out select="$xmlData/data/proposal/contact_mobile" />" /></td>
			<td align="right">电子邮箱：</td>
			<td><input id="contact_email" name="proposal/contact_email"
				label="单位信息-->电子邮箱" type="text"
				class="input_css required maxlength:50 email" style="width: 80%;"
				maxlength="50"
				value="<x:out select="$xmlData/data/proposal/contact_email" />" /></td>
		</tr>
	</div>
</table>


<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo4" cellspacing="1">
	<col style="width: 12%" />
	<col style="width: 12%" />
	<col style="width: 21.3%" />
	<col style="width: 21.3%" />
	<col style="width: 12%" />
	<col style="width: 21.3%" />
	<div class="t_bar">合作单位</div>
	<div>
		<tr>
			<td align="right">合作单位1：</td>
			<td colspan="2"><input id="cooperation_org1"
				name="proposal/cooperation_org1" label="合作单位1" type="text"
				class="input_css  maxlength:50" style="width: 86.7%;" maxlength="50"
				value="<x:out select="$xmlData/data/proposal/cooperation_org1" />" /></td>
			<td align="right">合作单位2：</td>
			<td colspan="2"><input id="cooperation_org2"
				name="proposal/cooperation_org2" label="合作单位2" type="text"
				class="input_css  maxlength:50" style="width: 86.7%;" maxlength="50"
				value="<x:out select="$xmlData/data/proposal/cooperation_org2" />" /></td>
		</tr>



		<tr>
			<td colspan="2" align="right"><span style="color: red;">*</span>中文关键字（用；隔开，限3个）：</td>
			<td colspan="4"><input id="keywords" name="proposal/keywords"
				label="中文关键字" type="text" class="input_css  required maxlength:50"
				style="width: 94.5%;" maxlength="50"
				value="<x:out select="$xmlData/data/proposal/keywords" />" /></td>
		</tr>


		<tr>
			<td colspan="2" align="right"><span style="color: red;">*</span>英文关键词（用；隔开，限3个）：</td>
			<td colspan="4"><input id="keywords_english"
				name="proposal/keywords_english" label="英文关键词" type="text"
				class="input_css  required maxlength:100" style="width: 94.5%;"
				maxlength="100"
				value="<x:out select="$xmlData/data/proposal/keywords_english" />" /></td>
		</tr>









	</div>
</table>



<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo5" cellspacing="1">

	<div class="t_bar">
		<span style="color: red;">*</span>中文摘要（限400字）
	</div>

	<!-- 	<tr>
		<td class="t_bar"><span style="color: red;">*</span>中文摘要（限400字）
		</td>
	</tr> -->
	<div>
		<tr>
			<td><textarea rows="9" cols="150" style="width: 98%;"
					class="input_textarea required maxlength:400"
					name='proposal/study_brief' label="中文摘要"><x:out select="$xmlData/data/proposal/study_brief"
						escapeXml="false" /></textarea> <input type="hidden" name="proposal/study_brief_hidden"
				id="proposal/study_brief_hidden" value="" /></td>
		</tr>
	</div>
</table>



<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo15" cellspacing="1">
	<div class="t_bar">
		<span style="color: red;">*</span>英文摘要（限3000Characters）
		</td>
	</div>
	<div>
		<tr>
			<td><textarea rows="9" cols="150" style="width: 98%;"
					class="input_textarea required maxlength:3000"
					name='proposal/study_brief_english' label="英文摘要"><x:out select="$xmlData/data/proposal/study_brief_english"
						escapeXml="false" /></textarea> <input type="hidden" name="proposal/study_brief_english_hidden"
				id="proposal/study_brief_english_hidden" value="" /></td>
		</tr>
	</div>
</table>
<%-- <tr>
		<td   colspan="6" class="t_bar2">基本信息</td>
		
	</tr>
	<tr>
		<td   align="right"><span class="color_red">*</span>项目名称：</td>
		<td  colspan="5">
			<input id="zh_title" name="proposal/zh_title" label="项目名称" type="text" required class="input_css required maxlength:100"  style="width: 725px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/zh_title" />"/> 
		</td>
	</tr>
	<tr>
		<td  width="135" align="right"><span class="color_red">*</span>归口管理部门：</td>
		<td  colspan="5">
			<c:set var="recomend_org"><x:out select="$xmlData/data/proposal/recomend_org_value" /></c:set>
			<c:set var="sqOrgCode"><x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_code"/></c:set>
			<cpt:select id="recomend_org" sqlParamVal="{currentorgcode:${sqOrgCode }}"  key="proposal_tjbm"  value="${recomend_org}" onChange="initControlValue(this.id);"></cpt:select>
			<input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value" class="required" value="${recomend_org}" label="归口管理部门">
			<input type="hidden" name="proposal/recomend_org_name" value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">
		</td>
	</tr>
	<tr>
	<td align="right" rowspan="3"><span class="color_red">*</span>所属技术领域：</td>
	<td colspan="2"><input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="technosphere" label="工业" value="01" onclick="changeStatus(this);"/><span style="vertical-align: middle;"> 工业</span></td>
	<td colspan="3" valign="middle">
	<label> <input type="checkbox" class="do " id="advant_0101" style="vertical-align: middle;" name="domain" label="装备制造" value="0101" /><span style="vertical-align: middle;">装备制造</span></label> 
	<label> <input type="checkbox" class="do " id="advant_0102" style="vertical-align: middle;" name="domain" label="机电一体化" value="0102" /><span style="vertical-align: middle;">机电一体化</span></label> 
	<label> <input type="checkbox" class="do " id="advant_0103" style="vertical-align: middle;" name="domain" label="电子信息" value="0103" /><span style="vertical-align: middle;">电子信息</span></label>
	<label> <input type="checkbox" class="do " id="advant_0104" style="vertical-align: middle;" name="domain" label="能源化工" value="0104" /><span style="vertical-align: middle;">能源化工</span></label>
	<label> <input type="checkbox" class="d[id$='" + treo " id="advant_0103" style="vertical-align: middle;" name="domain" label="新材料" value="0105" /><span style="vertical-align: middle;">新材料</span></label>
	<label> <input type="checkbox" class="do " id="advant_0104" style="vertical-align: middle;" name="domain" label="现代服务业" value="0106" /><span style="vertical-align: middle;">现代服务业</span></label>
	</tr>
	<tr>
	<td colspan="2"><input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="technosphere" label="农业" value="02" onclick="changeStatus(this);"/><span style="vertical-align: middle;"> 农业</span></td>
	<td colspan="3" valign="middle">
	<label> <input type="checkbox" class="do " id="advant_0201" style="vertical-align: middle;" name="domain" label="农业种植" value="0201" /><span style="vertical-align: middle;">农业种植</span></label> 
	<label> <input type="checkbox" class="do " id="advant_0202" style="vertical-align: middle;" name="domain" label="农业养殖" value="0202" /><span style="vertical-align: middle;">农业养殖</span></label> 
	<label> <input type="checkbox" class="do " id="advant_0203" style="vertical-align: middle;" name="domain" label="农业综合" value="0203" /><span style="vertical-align: middle;">农业综合</span></label>
	</tr>
	<tr>
	<td colspan="2"><input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="technosphere" label="社发" value="03" onclick="changeStatus(this);"/><span style="vertical-align: middle;"> 社发</span></td>
	<td colspan="3" valign="middle">
	<label> <input type="checkbox" class="do " id="advant_0301" style="vertical-align: middle;" name="domain" label="医药卫生" value="0301" /><span style="vertical-align: middle;">医药卫生</span></label> 
	<label> <input type="checkbox" class="do " id="advant_0302" style="vertical-align: middle;" name="domain" label="资源环境" value="0302" /><span style="vertical-align: middle;">资源环境</span></label> 
	<label> <input type="checkbox" class="do " id="advant_0303" style="vertical-align: middle;" name="domain" label="中药现代化" value="0303" /><span style="vertical-align: middle;">中药现代化</span></label>
	<input type="hidden" name="proposal/domain_value" id="domain_value" class="required" value="<x:out select="$xmlData/data/proposal/domain_value" />" label="社发" /> 
	<input type="hidden" name="proposal/domain_name" id="domain_name" value="<x:out select="$xmlData/data/proposal/domain_name" />" label="社发" />
	
	<input type="hidden" name="proposal/technosphere_value" id="technosphere_value" class="required" value="<x:out select="$xmlData/data/proposal/technosphere_value" />" label="所属技术领域" /> 
	<input type="hidden" name="proposal/technosphere_name" id="technosphere_name" value="<x:out select="$xmlData/data/proposal/technosphere_name" />" label="所属技术领域" /></td>
	</tr>
	
	<tr>
	<td align="right"><span class="color_red">*</span>研发形式：</td>
	<td nowrap colspan="5" valign="middle">
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="research" label="独立研发" value="01" /><span style="vertical-align: middle;">独立研发</span></label> 
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="research" label="合作研发" value="02" /><span style="vertical-align: middle;">合作研发</span></label> 
	<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="research" label="引进消化吸收" value="03" /><span style="vertical-align: middle;">引进消化吸收</span></label>
	<label> <input type="radio" class="do " id="advant_04" style="vertical-align: middle;" name="research" label="其他" value="04" /><span style="vertical-align: middle;">其他</span></label>
	<input type="hidden" name="proposal/research_value" id="research_value" class="required" value="<x:out select="$xmlData/data/proposal/research_value" />" label="研发形式" /> 
	<input type="hidden" name="proposal/research_name" id="research_name" value="<x:out select="$xmlData/data/proposal/research_name" />" label="研发形式" /></td>
	</tr>
	<tr>
	    <td  align="right" nowrap><span class="color_red">*</span>申报日期：</td>
		<td >
			<c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
			<cpt:date id="submit_date" name="proposal/submit_date" value="${submit_date}" className=" required date" label="申报日期"></cpt:date> 
		</td>
		<td  align="right" nowrap><span class="color_red">*</span>开始日期：</td>
		<td >
			<c:set var="start_date"><x:out select="$xmlData/data/proposal/start_date" /></c:set>
			<cpt:date id="start_date" name="proposal/start_date" value="${start_date}" className="required date  dateCompare:end_date" label="开始日期" ></cpt:date> 
		</td>
		<td  align="right" nowrap><span class="color_red">*</span>结束日期：</td>
		<td  >
			<c:set var="end_date"><x:out select="$xmlData/data/proposal/end_date" /></c:set>
			<cpt:date id="end_date" name="proposal/end_date" className="required date" label="结束日期"  value="${end_date}" ></cpt:date> 
		</td>
	</tr>
	
	<tr>
		<td   colspan="6" class="t_bar2">申报项目资金情况</td>
		
	</tr>
	<tr>
		<td  align="right"  >项目类别：</td>
		<td   ><x:out select="$xmlData/data/proposal/grant_name" />
		</td> 
		<td  align="right"  >项目核准或备案文号：</td>
		<td  colspan="3"  ><span  name="proposal/project_approval">无</span>
		</td>
		
	</tr>
	<tr>
	<td   align="right"><span class="color_red">*</span>项目计划投资总额：</td>
	<td  colspan="1">
	<input  name="proposal/xmjhtzze" id="xmjhtzze" disabled  label="项目计划投资总额" type="text"  class="input_css required gray" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/xmjhtzze" />"/> 
	</td>
	<td   align="right"><span class="color_red">*</span>申请金额：</td>
	<td  colspan="3">
	<input  name="proposal/sqje" id="sqje" class="gray " disabled label="申请金额" type="text" required class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sqje" />"/> 
	</td>
	</tr>

	<tr>
	<td  align="right">支持方式：</td>
		<td  >
			<span name="proposal/sponsor_category"><x:out select="$xmlData/data/proposal/sponsor_category" /></span> 
		</td>
		
		<td  align="right">资金级次：</td>
		<td colspan="3">
		<span  name="proposal/fund_level">市级</span>
		</td>
	</tr>
	<tr>
	<td  align="right" nowrap>归口管理部门：</td>
		<td  ><span name="proposal/org_name">无锡市文化广电新闻出版局</span> </td>
	    <td  align="right">管理类别：</td>
		<td  colspan="3">
		<span name="proposal/manage_category"><x:out select="$xmlData/data/proposal/manage_category" /></span>
		</td>
		
	</tr>
	<tr>
	<td  align="right" nowrap><span class="color_red">*</span>项目所属类别：</td>
		<td nowrap colspan="5">
			<c:set var="category"><x:out select="$xmlData/data/proposal/category_value" /></c:set>
		    <cpt:checkbox key="category" name="category" repeatColumn="9" style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
			<input type="hidden" id="category_value" name="proposal/category_value" class="required" value="${category}" label="项目所属类别">
			<input type="hidden" name="proposal/category_name" value="<x:out select="$xmlData/data/proposal/category_name" />">
		</td>
	</tr>
	<tr style="display:none"><td></td></tr>
	<tr>
		<td  align="right" nowrap><span class="color_red">*</span>项目所属产业：</td>
		<td nowrap colspan="5">
			<c:set var="industry"><x:out select="$xmlData/data/proposal/industry_value" /></c:set>
			<cpt:checkbox key="industry" name="industry" repeatColumn="5" style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
			<input type="hidden" id="industry_value" name="proposal/industry_value" class="required" value="${industry}" label="项目所属产业">
			<input type="hidden" name="proposal/industry_name" value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
	    <td  align="right">功能分类：</td>
		<td  colspan="5">
		<span name="proposal/grant_function"><x:out select="$xmlData/data/proposal/grant_function" /></span>
		</td>
		
	</tr>
	</table>
	<table  width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td    class="t_bar2">申请资助依据条款</td>
		
	</tr>
	<tr>
		<td >
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<span name="proposal/policy_foundation"><x:out select="$xmlData/data/proposal/policy_foundation" /></span> 
		</td>
	</tr>
</table>
<br/>


	<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="org1">
	
	<tr>
		<td    class="t_bar2" colspan="4">其他合作单位信息</td>
		
	</tr>
	<tr>
		<td    class="t_bar2" colspan="4">合作单位信息1</td>
		
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color1" style="display:none">*</span>单位名称：</td>
		<td colspan="3">
		<input  name="proposal/org_name1" label="合作单位信息1" type="text"  class="input_css " onchange="cydw('org1');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/org_name1" />"/>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color2" style="display:none">*</span>单位地址：</td>
		<td colspan="3">
		<input  name="proposal/address1" label="合作单位信息1-->地址" type="text"  class="input_css " onchange="cydw('org1');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/address1" />"/>
		</td>
	</tr>
	<tr>
	<td width="14%" align="right"><span class="color_red" id="color3" style="display:none">*</span>注册类型：</td>
          <td width="38%" align="left" colspan="1" >
          	<c:set var="nature1">{'id':'<x:out select="$xmlData/data/proposal/nature1_code" />','name':'<x:out select="$xmlData/data/proposal/nature1_name" />'}</c:set>
          	<cpt:tree key="nature_type" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${nature1}"  label="合作单位信息1-->注册类型"
          		id="nature1" showPattern="current" shieldPattern="0" topCheckbox="false" onClick="initTreeValue2"/>
	        <input id="nature1_code" type="hidden" name="proposal/nature1_code" class="" label="合作单位信息1-->注册类型" value="<x:out select="$xmlData/data/proposal/nature1_code" />"/>
            <input id="nature1_name" type="hidden" name="proposal/nature1_name"  value="<x:out select="$xmlData/data/proposal/nature1_name" />"/>
          </td>
	<td align="right"><span class="color_red" id="color4" style="display:none">*</span>组织机构代码：</td>
	<td><input  name="proposal/org_no1" label="合作单位信息1-->组织机构代码" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/org_no1" />"/></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red" id="color5" style="display:none">*</span>联系人：</td>
	<td><input  name="proposal/lxr_name1" label="合作单位信息1-->联系人姓名" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_name1" />"/></td>
	<td align="right"><span class="color_red" id="color6" style="display:none">*</span>电话：</td>
	<td><input  name="proposal/lxr_tel1" label="合作单位信息1-->联系人电话" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_tel1" />"/></td>
	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="org2">
<tr>
		<td    class="t_bar2" colspan="4">合作单位信息2</td>
		
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color1" style="display:none">*</span>单位名称：</td>
		<td colspan="3">
		<input  name="proposal/org_name2" label="合作单位信息2" type="text" required class="input_css " onchange="cydw('org2');"  style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/org_name2" />"/>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color2" style="display:none">*</span>单位地址：</td>
		<td colspan="3">
		<input  name="proposal/address2" label="合作单位信息2-->地址" type="text" required class="input_css " onchange="cydw('org2');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/address2" />"/>
		</td>
	</tr>
	<tr>
	<td width="14%" align="right"><span class="color_red" id="color3" style="display:none">*</span>注册类型：</td>
          <td width="38%" align="left" colspan="1" >
          	<c:set var="nature2">{'id':'<x:out select="$xmlData/data/proposal/nature2_code" />','name':'<x:out select="$xmlData/data/proposal/nature2_name" />'}</c:set>
          	<cpt:tree key="nature_type" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${nature2}" label="合作单位信息2-->注册类型"
          		id="nature2" showPattern="current" shieldPattern="0" topCheckbox="false" onClick="initTreeValue2"/>
	        <input id="nature2_code" type="hidden" name="proposal/nature2_code"  class="" label="合作单位信息2-->注册类型" value="<x:out select="$xmlData/data/proposal/nature2_code" />"/>
            <input id="nature2_name" type="hidden" name="proposal/nature2_name"  value="<x:out select="$xmlData/data/proposal/nature2_name" />"/>
          </td>
	<td align="right"><span class="color_red" id="color4" style="display:none">*</span>组织机构代码：</td>
	<td><input  name="proposal/org_no2" label="合作单位信息2-->组织机构代码" type="text"  class="input_css " onchange="cydw('org2');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/org_no2" />"/></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red" id="color5" style="display:none">*</span>联系人：</td>
	<td><input  name="proposal/lxr_name2" label="合作单位信息2-->联系人姓名" type="text"  class="input_css "  onchange="cydw('org2');" maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_name2" />"/></td>
	<td align="right"><span class="color_red" id="color6" style="display:none">*</span>电话：</td>
	<td><input  name="proposal/lxr_tel2" label="合作单位信息2-->联系人电话" type="text"  class="input_css " onchange="cydw('org2');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_tel2" />"/></td>
	</tr>
</table>
<br/>


<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
		<td    class="t_bar2" colspan="8">人员信息</td>
		
	</tr>
<tr>
		<td  align="right"><span class="color_red">*</span>项目联系人：</td>
		<td  >
			<input  name="proposal/contact_psn_cname" label="项目联系人" type="text" required class="input_css required"   maxlength="100" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
			<input  name="proposal/contact_psn_tel" label="联系电话" type="text" required class="input_css required"   maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
			<input  name="proposal/contact_psn_mobile" label="联系手机" type="text" required maxlength="11" required class="input_css required mobile"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td  >
			<input  name="proposal/contact_psn_email" label="电子邮箱" type="text" required class="input_css required email"   maxlength="100" value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/> 
		</td>
	</tr>
	<tr>
		<td  align="right">项目负责人：</td>
		<td>
		    <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		</td>
		<td  align="right">联系电话：</td>
		<td  >
		<span name="proposal/fzr_tel" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td  align="right">联系手机：</td>
		<td  >
		<span name="proposal/fzr_mobile" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		<td  align="right">电子邮箱：</td>
		<td  >
		<span name="proposal/fzr_mail"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
	</tr>
	
	
</table>
--%>
<script type="text/javascript">
	function initTreeValueSYF(treeId, treeNode) {

		if (!(treeNode && treeNode.level > 0)) {
			scmWarn($("#" + treeId).attr("label")
					+ messageTip.researchAreaInvalidDisciplineCode);
			if (treeNode.level == 0) {
				$("#" + treeId).val("");
				$("#" + treeId).parents("td").find(
						"[name$='" + treeId + "_value'],[id$='" + treeId
								+ "_value']").val("");
				$("#" + treeId).parents("td").find(
						"[name$='" + treeId + "_name'],[id$='" + treeId
								+ "_name']").val("");
			}
			$("#" + treeId + "_code").val("");
			return false;
		}
		var oldval = $("#" + treeId).parents("td").find(
				"[name$='" + treeId + "_value'],[id$='" + treeId + "_value']")
				.val();
		var oldname = $("#" + treeId).parents("td").find(
				"[name$='" + treeId + "_name'],[id$='" + treeId + "_name']")
				.val();
		oldval = $.trim(oldval);
		oldname = $.trim(oldname);
		var str = treeNode.name;
		var obj = treeNode.parentNode;
		while (obj != null) {
			str = obj.name + "-" + str;
			obj = obj.parentNode;
		}
		if (treeId == 'impl_area') {

			if (treeNode.checked) {
				if (oldname != '')
					oldname += ',';
				if (oldval != '')
					oldval += ',';
				if (oldval.indexOf(treeNode.id) == -1)
					$("#" + treeId).parents("td").find(
							"[name$='" + treeId + "_value'],[id$='" + treeId
									+ "_value']").val(oldval + treeNode.id);
				if (oldname.indexOf(str) == -1) {
					$("#" + treeId).parents("td").find(
							"[name$='" + treeId + "_name'],[id$='" + treeId
									+ "_name']").val(oldname + str);
					$("#" + treeId).parents("td").find(
							"[name='" + treeId + "'],[id='" + treeId + "']")
							.val(oldname + str);
				}
			} else {
				$("#" + treeId).parents("td").find(
						"[name$='" + treeId + "_value'],[id$='" + treeId
								+ "_value']").val(
						("," + oldval).replace(',' + treeNode.id, '')
								.substring(1));
				$("#" + treeId).parents("td").find(
						"[name$='" + treeId + "_name'],[id$='" + treeId
								+ "_name']").val(
						("," + oldname).replace("," + str, '').substring(1));
				$("#" + treeId).parents("td").find(
						"[name='" + treeId + "'],[id='" + treeId + "']").val(
						("," + oldname).replace("," + str, '').substring(1));
			}
		} else {
			$("#" + treeId).parents("td").find(
					"[name$='" + treeId + "_value'],[id$='" + treeId
							+ "_value']").val(treeNode.id);
			$("#" + treeId).parents("td")
					.find(
							"[name$='" + treeId + "_name'],[id$='" + treeId
									+ "_name']").val(str);
		}

		$("#" + treeId + "_code").val(treeNode.id);

	}
	 function initTreeValue3(treeId, treeNode) {
			var str = treeNode.name;
			var obj = treeNode.parentNode;
			while (obj != null) {
				//str = obj.name + "-" + str;
				obj = obj.parentNode;
			}
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
			$("#" + treeId).val(str);
			initTreeValue2CallBack();
		}
	function initTreeValueSYF111(treeId, treeNode) {

		if (!(treeNode && treeNode.level > 0)) {
			scmWarn($("#" + treeId).attr("label")
					+ messageTip.researchAreaInvalidDisciplineCode);
			if (treeNode.level == 0) {
				$("#" + treeId).val("");
				$("#" + treeId).parents("td").find(
						"[name$='" + treeId + "_value'],[id$='" + treeId
								+ "_value']").val("");
				$("#" + treeId).parents("td").find(
						"[name$='" + treeId + "_name'],[id$='" + treeId
								+ "_name']").val("");
				$("#" + treeId).parents("td").find(
						"[name$='" + treeId + "_value'],[id$='" + treeId
								+ "_all_value']").val("");
				$("#" + treeId).parents("td").find(
						"[name$='" + treeId + "_name'],[id$='" + treeId
								+ "_all_name']").val("");
			}
			$("#" + treeId + "_code").val("");
			$("#xkz").val("");
			$("#xkz_value").val("");
			$("#" + treeId).parents("tr").find("[name$='subject_no']").val("");
			return false;
		}
		var oldval = $("#" + treeId).parents("td").find(
				"[name$='" + treeId + "_value'],[id$='" + treeId + "_value']")
				.val();
		var oldname = $("#" + treeId).parents("td").find(
				"[name$='" + treeId + "_name'],[id$='" + treeId + "_name']")
				.val();
		oldval = $.trim(oldval);
		oldname = $.trim(oldname);
		var str = treeNode.name;
		var obj = treeNode.parentNode;
		var showName = "";
		while (obj != null) {
			str = obj.name + "-" + str;
			showName = obj.name;
			obj = obj.parentNode;
			$("#xkz_value").val(treeNode.id);
			
		}
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId+ "_value']").val(treeNode.parentNode.id);
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId+ "_name']").val(showName);
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_all_value'],[id$='" + treeId+ "_all_value']").val(treeNode.id);
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_all_name'],[id$='" + treeId+ "_all_name']").val(str);
			$("#" + treeId).parents("tr").find("[name$='subject_no']").val(treeNode.name.split("_")[1]);
		$("#xkz").val(treeNode.name.split("_")[0]);

	}
	  function setEmptyValueForTree(id){
		  if(id=='researcharea'){
			  $("#xkz").val("");
				$("#xkz_value").val("");
				$("#" + id).parents("tr").find("[name$='subject_no']").val("");
		   }
			$("#" + id).parents("td").find("[name$='" + id + "_all_name'],[id$='" + id + "_all_name']").val("");
			$("#" + id).parents("td").find("[name$='" + id + "_all_value'],[id$='" + id + "_all_value']").val("");
			$("#"+id).val("");
			$("#"+id+"_hideId").val("");
			$("#"+id+"_hideName").val("");
			$("#"+id+"_code").val("");
			$("#"+id+"_value").val("");
			$("#"+id+"_name").val("");
			$("#"+id + ",[name$='/"+id+"_code']" + ",[name$='/"+id+"_name'],[name$='/"+id+"_value']").val("");
		}
</script>

